package lab04.test02;

public class ThreadTwo implements Runnable {
    @Override
    public void run() {
        //每隔2秒
        while (true) {
            System.out.println("1234567890");

            try {
                Thread.sleep(2000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

        }
    }
}